package com.example.demo.dao;

import com.example.demo.entity.Supplier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface SupplierJPARepository extends JpaRepository<Supplier,Long>, JpaSpecificationExecutor<Supplier> {
List<Supplier> findByName(String name);
}
